package io.renren.sf.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.sf.entity.CbBasisStrokesEntity;
import io.renren.sf.entity.CbBrushEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author cyl_txw
 * @email cyl_txw@gmail.com
 * @date 2021-03-31 13:04:12
 */
@Mapper
public interface CbBrushDao extends BaseMapper<CbBrushEntity> {

    CbBrushEntity getBrushByWordId(@Param("wordId") Long wordId);

    List<CbBasisStrokesEntity> getBasisStrokesByWordId(@Param("wordId") Long wordId);
}
